@import 'src/assets/base.css';

#app {
  max-width: 100%;
  margin: 0 auto;
  padding: 1rem;
  font-weight: normal;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--color-background);
}

a,
.green {
  text-decoration: none;
  color: hsla(160, 100%, 37%, 1);
  transition: 0.4s;
  padding: 3px;
}

@media (hover: hover) {
  a:hover {
    background-color: hsla(160, 100%, 37%, 0.2);
  }
}

@media (min-width: 1024px) {
  body {
    display: flex;
    place-items: center;
  }

  #app {
    display: flex;
    flex-direction: column;
    padding: 1rem;
    width: 100%;
  }
}

/* 全局高端样式 */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  background: var(--color-background);
  color: var(--color-text);
  transition: background 0.5s ease;
}

header {
  text-align: center;
  padding: 20px 0;
}

.logo {
  display: block;
  margin: 0 auto 1rem;
  filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.5));
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--color-heading);
  font-weight: 600;
  line-height: 1.2;
}